/*
 * BlockFile.h
 *
 */

#ifndef BLOCKFILE_H_
#define BLOCKFILE_H_

#include "BinaryFile.h"
#include "BlockPersistor.h"

class BlockFile : public BinaryFile {
public:
	BlockFile();
	virtual ~BlockFile();

	bool get(BigInt number, BlockPersistor& persistor);
	bool write(BigInt number, BlockPersistor& persistor);
	bool append(BlockPersistor& persistor);
};

#endif /* BLOCKFILE_H_ */
